package com.csj.ribbonservice.controller;

import com.csj.ribbonservice.service.HiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author:ChengshaoJie
 * @Description:
 * @Date:Created in 下午 5:03 2019/4/22 0022
 */
@RestController
public class HiController {

    @Autowired
    private HiService hiService;

    @RequestMapping("/hello")
    public String hi(String name) {
        return hiService.hiService(name);
    }
}
